import request from '@/utils/request'


// 发布数据到设备配置主题
export function publishDevConfApi(params: any) {
    return request({
        url: '/mqtt/dynamic/publish/devconf',
        method: 'post',
        params
    })
}
// 订阅数据到设备配置主题
export function subscribeDevConfApi(params: any) {
    return request({
        url: '/mqtt/dynamic/subscribe/devconf',
        method: 'post',
        params
    })
}
